package com.lzh.tiktok.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzh.tiktok.user.entity.FollowEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @author lizhihang
 * @create 2023-01-17 15:26
 */
public interface FollowDao extends BaseMapper<FollowEntity> {
    Integer getFollowCountByUserId(@Param("userId") Integer userId);

    Integer getFollowerByUserId(@Param("userId") Integer userId);
}
